home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-08-04 | 1.9 KB | 38 lines | [TEXT/ToyS] |
- -----------------------------------------------------------------------
- -- StarNine Technologies, Inc., hereby disclaims all copyright interest
- -- in the following source code written by Jon Stevens (jon@aggroup.com),
- -- Ken Sayward (sayward@ae.vitro.com), & Joshua D. Baer.
- --
- -- This source code is free and has been placed into the public domain.
- -- You can redistribute it, modify it (including these comments) and/or
- -- create derivative works from it as you see fit.
- --
- -- This source code is made available in the hope that it will be useful,
- -- but WITHOUT ANY WARRANTY; without even the implied warranty of
- -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- -----------------------------------------------------------------------
-
- (* This script must remain UNCOMPILED, because ListSTAR needs to prepend
- the s9MailSubject from an incoming message before compilation/execution. *)
-
- (* Configure. You MUST change these values!*)
- -- the path to the Digests Data directory...the Digests Data directory should contain the TOC file.
- property thePath : "Volume Name:ListSTAR/SMTP:Services:Listserver Demo Digest:Digests Data:"
- --the name of the data files, in the example this is "Test"
- property filename : "Test"
- --the path to the "Make Digests" script library
- property ScriptLibraryPath : "Volume Name:ListSTAR/SMTP:AppleScripts:Make Digests v3.0.5"
- -- set this to true if you want HTML digests sent to the list, set it to false if you want normal mail
- property HTML_on_outgoing : false
- (*End configure section *)
-
- --get the mail sender name
- set senderName to s9SenderName
- if senderName is "" then set senderName to s9SenderEmailAddress
-
- set theScript to load script (alias ScriptLibraryPath)
- --display dialog "Worked" buttons {"OK"}
- --tell (load script ScriptLibraryPath) to makeTOC(thePath, filename, s9MailSubject)
- tell theScript to makeTOC(thePath, filename, s9MailSubject, senderName, HTML_on_outgoing)
-
- return 1